﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace P2PFileScheduling
{
    public class Vertex
    {
        public string name {  get; set; }
        public int number { get; set; }
        public int upload { get; set; }
        public int download { get; set; }
        public bool[] pieces { get; set; }

        public Vertex(int number, string name, int upload, int download, bool[] pieces)
        {
            this.name = name;
            this.number = number;
            this.upload = upload;
            this.download = download;
            this.pieces = pieces;
        }
    }
}
